using System;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;

namespace Qiao.UserCenter.Entity
{
    /// <summary>
    /// 账号信息表，存放用户基本的登陆信息
    /// <summary>
    [Serializable]
    [DataContract]
    public partial class AccountInfoEntity
    {
        /// <summary>
        /// 账号Id
        /// <summary>
        [Key]
        [DataMember]
        public int AccountId { get; set; }

        /// <summary>
        /// 用户ID
        /// <summary>
        [DataMember]
        public int UserId { get; set; }

        /// <summary>
        /// 手机号
        /// <summary>
        [DataMember]
        public string Mobile { get; set; }

        /// <summary>
        /// 登陆名
        /// <summary>
        [DataMember]
        public string LoginName { get; set; }

        /// <summary>
        /// 两次MD5加密
        /// <summary>
        [DataMember]
        public string PassWord { get; set; }

        /// <summary>
        /// 是否有效 0 逻辑删除 1 有效
        /// <summary>
        [DataMember]
        public int IsActive { get; set; }

        /// <summary>
        /// 创建时间
        /// <summary>
        [DataMember]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 修改时间
        /// <summary>
        [DataMember]
        public DateTime UpdateTime { get; set; }

    }
}
